
FROM docker.rainbond.cc/mysql:8.0
ARG TEST_WEBHOOK=111111
MAINTAINER yanghl
EXPOSE 3306
ENV MYSQL_ROOT_PASSWORD root
ENV MYSQL_DATABASE	nacos
ENV TEST_WEBHOOK ${TEST_WEBHOOK}
VOLUME /var/lib/mysql
COPY ./mysql-schema.sql /docker-entrypoint-initdb.d/mysql-schema.sql
CMD ["mysqld"]